<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 300px;
            height: 300px;
            background-color: pink;
            background-image: url(img/wzlogo1.jpg);
            background-repeat: no-repeat;
            /* background-position:方位名词; */
            /* background-position: center top;*/
            /* background-position: right center;*/
            /*如果是方位名词 right center和 center right 效果是等价的跟顺序有关系*/
            /*background-position: center right;*/
            /*此时水平一定是靠右侧对齐第二个参数省略y轴是垂直居中显示的*/
            /* background-position: right;*/
            /*此时第一个参数一定是 top y轴顶部对齐第二个参数省略x轴是水平居中显示的*/
            background-position: top;
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>